Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.actions inside nuxeo-platform-webapp-core-5.8.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="documents" label="label.main.tab.documents" link="view_documents" order="40" type="main_tab">
          <category>MAIN_TABS</category>
          <properties>
            <property name="requireDocument">true</property>
          </properties>
        </action>
  • <action id="non_anonymous_logout" label="command.logout" link="logout" order="100" type="bare_link">
          <category>USER_MENU_ACTIONS</category>
          <filter-id>not_anonymous</filter-id>
        </action>
  • <action id="login" label="command.login" link="logout" order="100" type="bare_link">
          <category>USER_MENU_ACTIONS</category>
          <filter-id>anonymous</filter-id>
        </action>
  • <action id="advanced_search" label="command.advancedSearch" link="search_form" order="10">
          <category>SEARCH_ACTIONS</category>
        </action>
  • <action icon="/icons/action_add.gif" id="newDomain" label="command.create.domain" link="#{documentActions.createDocument('Domain')}">
          <category>SUBVIEW_UPPER_LIST</category>
          <filter id="newDomain">
            <rule grant="true">
              <permission>AddChildren</permission>
              <type>Root</type>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_add.gif" id="newWorkspace" label="command.create.workspace" link="#{documentActions.createDocument('Workspace')}">
          <category>SUBVIEW_UPPER_LIST</category>
          <filter id="newWorkspace">
            <rule grant="true">
              <permission>AddChildren</permission>
              <type>WorkspaceRoot</type>
            </rule>
          </filter>
        </action>
  • <action enabled="false" icon="/icons/action_add.gif" id="newWorkspaceWithWizard" label="command.create.workspace.wizard" link="create_workspace_wizard">
          <category>SUBVIEW_UPPER_LIST</category>
          <filter id="newWorkspaceWizard">
            <rule grant="true">
              <permission>AddChildren</permission>
              <type>WorkspaceRoot</type>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_add.gif" id="newSection" label="command.create.section" link="#{documentActions.createDocument('Section')}">
          <category>SUBVIEW_UPPER_LIST</category>
          <filter id="newSection">
            <rule grant="true">
              <permission>AddChildren</permission>
              <type>SectionRoot</type>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_add.gif" id="newDocument" label="action.new.document" type="fancybox">
          <category>SUBVIEW_UPPER_LIST</category>
          <properties>
            <property name="include">/select_document_type.xhtml</property>
          </properties>
          <filter-id>create</filter-id>
        </action>
  • <action icon="/icons/action_add_file.gif" id="newFile" label="action.new.file" type="fancybox">
          <category>SUBVIEW_UPPER_LIST</category>
          <properties>
            <property name="include">/create_file.xhtml</property>
          </properties>
          <filter-id>importFile</filter-id>
        </action>
  • <action accessKey="m" icon="/icons/file.gif" id="TAB_MANAGE" label="action.view.manage" order="240" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>manage</filter-id>
          <filter id="TAB_MANAGE_has_subtabs">
            <rule grant="false">
              <condition>
                #{webActions.getActionsList('TAB_MANAGE_sub_tab').isEmpty()}
              </condition>
            </rule>
          </filter>
          <properties>
            <property name="ajaxSupport">true</property>
            <property name="link">/incl/tabs/document_manage.xhtml</property>
          </properties>
        </action>
  • <action accessKey="v" icon="/icons/file.gif" id="TAB_VIEW" label="action.view.summary" link="/incl/tabs/document_view.xhtml" order="0">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>view</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action accessKey="c" icon="/icons/file.gif" id="TAB_CONTENT" label="action.view.content" link="/incl/tabs/document_content.xhtml" order="10">
          <category>VIEW_ACTION_LIST</category>
          <!--
            NXP-12715: use same tab on workspaces and sections
          -->
          <!--
            <filter-id>outSection</filter-id>
          -->
          <filter-id>view_content</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action enabled="false" icon="/icons/file.gif" id="TAB_SECTION_CONTENT" label="action.view.content" link="/incl/tabs/section_content.xhtml" order="10">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>view_content</filter-id>
          <filter-id>inSection</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/file.gif" id="TAB_TRASH_CONTENT" label="action.view.trash.content" link="/incl/tabs/document_trash_content.xhtml" order="200">
          <category>TAB_MANAGE_sub_tab</category>
          <filter id="viewTrash">
            <rule grant="true">
              <permission>Manage everything</permission>
              <facet>Folderish</facet>
              <condition>#{deleteActions.trashManagementEnabled}</condition>
            </rule>
          </filter>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action accesskey="p" icon="/icons/printer.gif" id="print" label="label.print" link="#{restHelper.doPrint(themeActions.defaultTheme)}" order="100">
          <category>DOCUMENT_UPPER_ACTION_BLANK_TARGET</category>
        </action>
  • <action accessKey="e" icon="/icons/file.gif" id="TAB_EDIT" label="action.view.modification" link="/incl/tabs/document_edit.xhtml" order="20">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>edit</filter-id>
          <filter-id>mutable_document</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action accessKey="e" icon="/icons/file.gif" id="TAB_WORKSPACE_EDIT" label="action.view.modification" link="/incl/tabs/document_edit.xhtml" order="22">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>workspace_edit</filter-id>
          <filter-id>mutable_document</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action accessKey="f" id="TAB_FILES_EDIT" label="action.view.files" link="/incl/tabs/document_files_edit.xhtml" order="43">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>edit</filter-id>
          <filter-id>mutable_document</filter-id>
          <filter-id>hasAttachedFiles</filter-id>
          <filter-id>denyFilesTab</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/file.gif" id="TAB_RIGHTS" label="action.view.rights" link="/incl/tabs/document_rights.xhtml" order="50">
          <category>TAB_MANAGE_sub_tab</category>
          <filter-id>rights</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/action_paste_all.gif" id="WORKLIST_PASTE" label="command.clipboard.pasteAll" link="#{clipboardActions.pasteWorkingList}">
          <category>DEFAULT_LIST</category>
          <category>CLIPBOARD_LIST</category>
          <filter-id>canPasteCurrentWorkList</filter-id>
        </action>
  • <action icon="/icons/action_move_all.gif" id="WORKLIST_MOVE" label="command.clipboard.moveAll" link="#{clipboardActions.moveWorkingList}">
          <category>DEFAULT_LIST</category>
          <category>CLIPBOARD_LIST</category>
          <filter-id>canMoveWorkingList</filter-id>
        </action>
  • <action icon="/icons/action_export_zip.gif" id="WORKLIST_EXPORT" label="command.clipboard.zipExport" link="#{clipboardActions.exportWorklistAsZip()}">
          <category>DEFAULT_LIST</category>
          <filter id="currentWorkListIsNotEmpty2">
            <rule grant="false">
              <condition>#{clipboardActions.workListEmpty}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_clipboard_deleteall.gif" id="WORKLIST_CLEAN" label="command.clipboard.delAll" link="#{clipboardActions.clearWorkingList()}">
          <category>DEFAULT_LIST</category>
          <category>CLIPBOARD_LIST</category>
          <filter id="currentWorkListIsNotEmpty3">
            <rule grant="false">
              <condition>#{clipboardActions.workListEmpty}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="" id="CLIPBOARD_PASTE" label="command.clipboard.paste" link="#{clipboardActions.pasteClipboard}" order="20">
          <category>CURRENT_SELECTION_LIST</category>
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter id="canPastFromClipboard">
            <rule grant="true">
              <condition>#{clipboardActions.canPasteFromClipboard}</condition>
            </rule>
          </filter>
        </action>
  • <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="CURRENT_SELECTION_DELETE" label="command.deleteDocs" link="#{deleteActions.purgeSelection}">
          <category>CURRENT_SELECTION_TRASH_LIST</category>
          <filter id="canPurge">
            <rule grant="true">
              <condition>#{deleteActions.canPurge}</condition>
            </rule>
          </filter>
        </action>
  • <action confirm="if( !confirmUndeleteDocuments() ) return false;" help="comand.undeleteDocs.help" icon="" id="CURRENT_SELECTION_UNDELETE" label="command.undeleteDocs" link="#{deleteActions.undeleteSelection}">
          <category>CURRENT_SELECTION_TRASH_LIST</category>
          <filter id="canPurge">
            <rule grant="true">
              <condition>#{deleteActions.canPurge}</condition>
            </rule>
          </filter>
        </action>
  • <action confirm="if( !confirmDeleteDocuments() ) return false;" help="comand.trashDocs.help" icon="" id="CURRENT_SELECTION_TRASH" label="command.trashDocs" link="#{deleteActions.deleteSelection}" order="40">
          <category>CURRENT_SELECTION_LIST</category>
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter id="canDelete">
            <rule grant="true">
              <condition>#{deleteActions.canDelete}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="" id="CURRENT_SELECTION_EDIT" label="command.bulk.edit" order="0" type="fancybox">
          <category>CURRENT_SELECTION_LIST</category>
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter-id>canEditCurrentSelection</filter-id>
          <properties>
            <property name="include">/incl/bulk_edit_box.xhtml</property>
            <property name="layout">bulkEdit@edit</property>
            <property name="autoDimensions">false</property>
            <property name="width">50%</property>
            <property name="height">70%</property>
            <property name="modal">true</property>
            <property name="scrolling">auto</property>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="" id="CURRENT_SELECTION_COPY" label="command.clipboard.copy" link="#{clipboardActions.putSelectionInClipboard}" order="10">
          <category>CURRENT_SELECTION_LIST</category>
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter-id>canCopyFromCurrentSelection</filter-id>
        </action>
  • <action icon="" id="CURRENT_SELECTION_ADDTOLIST" label="help.command.clipboard.addworklist" link="#{clipboardActions.putSelectionInDefaultWorkList}" order="30">
          <category>CURRENT_SELECTION_LIST</category>
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter-id>canCopyFromCurrentSelection</filter-id>
          <filter id="no_addtolist_for_domains">
            <rule grant="false">
              <type>Root</type>
            </rule>
          </filter>
        </action>
  • <action enabled="true" icon="" id="MOVE_TOP" label="command.order.movetotop" link="#{orderableDocumentActions.moveToTop}" order="200">
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter-id>canMoveToTop</filter-id>
        </action>
  • <action enabled="true" icon="" id="MOVE_UP" label="command.order.moveup" link="#{orderableDocumentActions.moveUp}" order="250">
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter-id>canMoveUp</filter-id>
        </action>
  • <action enabled="true" icon="" id="MOVE_DOWN" label="command.order.movedown" link="#{orderableDocumentActions.moveDown}" order="300">
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter-id>canMoveDown</filter-id>
        </action>
  • <action enabled="true" icon="" id="MOVE_BOTTOM" label="command.order.movetobottom" link="#{orderableDocumentActions.moveToBottom}" order="350">
          <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
          <filter-id>canMoveToBottom</filter-id>
        </action>
  • <action confirm="if( !confirmDeleteDocuments() ) return false;" help="comand.trashDocs.help" icon="" id="CURRENT_SELECTION_SECTIONS_TRASH" label="command.trashDocs" link="#{deleteActions.deleteSelectionSections}">
          <category>CURRENT_SELECTION_SECTIONS_LIST</category>
          <filter id="canDeleteSection">
            <rule grant="true">
              <condition>#{deleteActions.canDeleteSections}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/view_doc.png" id="POPUP_VIEW" label="command.view" link="javascript:doView">
          <category>POPUP</category>
        </action>
  • <action icon="/icons/application_form_edit.png" id="POPUP_EDIT" label="action.view.edit" link="javascript:doEdit">
          <category>POPUP</category>
          <filter-id>user_canedit</filter-id>
          <filter-id>mutable_document</filter-id>
        </action>
  • <action icon="/icons/action_clipboard_copy.gif" id="POPUP_COPY" label="command.clipboard.copy" link="javascript:doCopy">
          <category>POPUP</category>
        </action>
  • <action icon="/icons/action_paste_all.gif" id="POPUP_PASTE" label="command.clipboard.paste" link="javascript:doPaste">
          <category>POPUP</category>
          <filter id="canPastePopup">
            <rule grant="true">
              <condition>
                #{clipboardActions.getCanPasteFromClipboardInside(document)}
              </condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_move_all.gif" id="POPUP_MOVE" label="command.clipboard.moveAll" link="javascript:doMove">
          <category>POPUP</category>
          <filter id="canPastePopup">
            <rule grant="true">
              <condition>
                #{clipboardActions.getCanMoveFromClipboardInside(document)}
              </condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/rename.png" id="POPUP_RENAME" label="command.rename" link="javascript:doRename">
          <category>POPUP</category>
          <filter-id>user_canedit</filter-id>
          <filter-id>mutable_document</filter-id>
          <filter id="canRenamePopup">
            <rule grant="true">
              <condition>#{popupHelper.isCurrentContainerDirectParent}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/delete_red.png" id="POPUP_DEL" label="command.trashDocs" link="javascript:doDelete">
          <category>POPUP</category>
          <filter id="canDeletePopup">
            <rule grant="true">
              <condition>#{deleteActions.getCanDeleteItem(container)}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/group.png" id="POPUP_RIGHTS" label="action.view.rights" link="javascript:doAccessRights" order="10">
          <category>POPUP</category>
          <filter-id>rights</filter-id>
        </action>
  • <action icon="/icons/icone_download.gif" id="POPUP_DOWNLOAD" label="command.download" link="javascript:doDownload" order="70">
          <category>POPUP</category>
          <filter id="hasContent">
            <rule grant="true">
              <schema>file</schema>
            </rule>
          </filter>
          <filter id="documentHasBlobAttached">
            <rule grant="true">
              <condition>
                #{popupHelper.isDocumentHasBlobAttached(document)}
              </condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/start_workflow.png" id="POPUP_WORKFLOW" label="action.view.review" link="javascript:doWorkflow" order="90">
          <category>POPUP</category>
          <filter-id>jbpm-process</filter-id>
          <filter-id>mutable_document</filter-id>
        </action>
  • <action icon="/icons/lock.gif" id="POPUP_DOCUMENT_LOCK" label="command.lock" link="javascript:doLock" order="110">
          <category>POPUP</category>
          <filter-id>mutable_document</filter-id>
          <filter id="popup_can_lock_doc">
            <rule grant="true">
              <permission>Write</permission>
              <condition>#{lockActions.getCanLockDoc(document)}</condition>
            </rule>
            <rule grant="false">
              <facet>Folderish</facet>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/lock.gif" id="POPUP_DOCUMENT_UNLOCK" label="command.unlock" link="javascript:doUnlock" order="130">
          <category>POPUP</category>
          <filter-id>mutable_document</filter-id>
          <filter id="popup_can_unlock_doc">
            <rule grant="true">
              <permission>Write</permission>
              <condition>#{lockActions.getCanUnlockDoc(document)}</condition>
            </rule>
            <rule grant="false">
              <facet>Folderish</facet>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/mail.gif" id="POPUP_sendEmail" label="action.email.document" link="javascript:doSendEmail" order="150">
          <category>POPUP</category>
          <filter-id>not_folder</filter-id>
        </action>
  • <action icon="" id="DOCUMENT_LOCK" label="command.lock" link="#{lockActions.lockCurrentDocument}">
          <category>EDIT_ACTIONS</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_lock</filter-id>
        </action>
  • <action icon="" id="DOCUMENT_UNLOCK" label="command.unlock" link="#{lockActions.unlockCurrentDocument}">
          <category>EDIT_ACTIONS</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_unlock</filter-id>
        </action>
  • <action icon="/icons/word.png" id="le_create_msword" label="action.liveedit.create.msword" link="#{nxd:liveCreateUrl('application/msword', 'File', 'file', 'content', 'filename')}" order="40">
          <category>LIVEEDIT_CREATE_ACTIONS</category>
        </action>
  • <action icon="/icons/xls.png" id="le_create_msexcel" label="action.liveedit.create.msexcel" link="#{nxd:liveCreateUrl('application/vnd.ms-excel', 'File', 'file', 'content', 'filename')}" order="50">
          <category>LIVEEDIT_CREATE_ACTIONS</category>
        </action>
  • <action icon="/icons/ppt.png" id="le_create_mspowerpoint" label="action.liveedit.create.mspowerpoint" link="#{nxd:liveCreateUrl('application/vnd.ms-powerpoint', 'File', 'file', 'content', 'filename')}" order="60">
          <category>LIVEEDIT_CREATE_ACTIONS</category>
        </action>
  • <action icon="/icons/file.gif" id="TAB_LOCAL_CONFIGURATION" label="action.view.local.configuration" link="/incl/tabs/local_configuration.xhtml" order="70">
          <category>TAB_MANAGE_sub_tab</category>
          <filter-id>has_local_configuration_available</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action id="CREATE_DOCUMENT" label="command.create" link="#{documentActions.saveDocument}" order="0">
          <category>CREATE_DOCUMENT_FORM</category>
          <filter-id>is_not_creating_workspace</filter-id>
        </action>
  • <action id="CREATE_WORKSPACE" label="command.create" link="#{documentTemplatesActions.createDocumentFromTemplate}" order="0">
          <category>CREATE_DOCUMENT_FORM</category>
          <filter-id>is_creating_workspace</filter-id>
        </action>
  • <action id="CANCEL_DOCUMENT_CREATION" immediate="true" label="command.cancel" link="#{navigationContext.goBack()}" order="50">
          <category>CREATE_DOCUMENT_FORM</category>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action id="EDIT_CURRENT_DOCUMENT" label="command.save" link="#{documentActions.updateCurrentDocument}" order="0">
          <category>EDIT_DOCUMENT_FORM</category>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action enabled="false" id="EDIT_CURRENT_DOCUMENT_AND_STAY" label="command.save.and.stay" link="#{documentActions.updateDocument(currentDocument, true)}" order="10">
          <category>EDIT_DOCUMENT_FORM</category>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action id="simple_search_box" order="1" type="template">
          <category>SEARCH_ACTIONS</category>
          <filter-id>isSearchEnabled</filter-id>
          <properties>
            <property name="template">/search/search_box.xhtml</property>
          </properties>
        </action>
  • <action id="footer_contact_us" label="label.footer.contactUs" link="http://www.nuxeo.com/en/about/contact?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="10" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="footer_blogs" label="label.footer.blogs" link="http://blogs.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="20" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="footer_community" label="label.footer.community" link="http://community.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="30" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="footer_answers" label="label.footer.answers" link="http://answers.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="40" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="footer_documentation" label="label.footer.documentation" link="http://doc.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="50" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="footer_twitter" label="Twitter" link="http://twitter.com/nuxeo/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="60" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="styleClass">twitt</property>
            <property name="labelStyleClass">footerLabel</property>
            <property name="target">_blank</property>
          </properties>
        </action>
  • <action id="footer_linkedin" label="LinkedIn" link="http://www.linkedin.com/groupRegistration?gid=43314&amp;utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="70" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="styleClass">linkedin</property>
            <property name="labelStyleClass">footerLabel</property>
            <property name="target">_blank</property>
          </properties>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <!-- server actions -->

    <action id="documents" label="label.main.tab.documents" link="view_documents" order="40" type="main_tab">
      <category>MAIN_TABS</category>
      <properties>
        <property name="requireDocument">true</property>
      </properties>
    </action>

    <action id="non_anonymous_logout" label="command.logout" link="logout" order="100" type="bare_link">
      <category>USER_MENU_ACTIONS</category>
      <filter-id>not_anonymous</filter-id>
    </action>

    <action id="login" label="command.login" link="logout" order="100" type="bare_link">
      <category>USER_MENU_ACTIONS</category>
      <filter-id>anonymous</filter-id>
    </action>

    <action id="advanced_search" label="command.advancedSearch" link="search_form" order="10">
      <category>SEARCH_ACTIONS</category>
    </action>

    <action icon="/icons/action_add.gif" id="newDomain" label="command.create.domain" link="#{documentActions.createDocument('Domain')}">
      <category>SUBVIEW_UPPER_LIST</category>
      <filter id="newDomain">
        <rule grant="true">
          <permission>AddChildren</permission>
          <type>Root</type>
        </rule>
      </filter>
    </action>

    <!-- domain and roots actions -->

    <action icon="/icons/action_add.gif" id="newWorkspace" label="command.create.workspace" link="#{documentActions.createDocument('Workspace')}">
      <category>SUBVIEW_UPPER_LIST</category>
      <filter id="newWorkspace">
        <rule grant="true">
          <permission>AddChildren</permission>
          <type>WorkspaceRoot</type>
        </rule>
      </filter>
    </action>

    <action enabled="false" icon="/icons/action_add.gif" id="newWorkspaceWithWizard" label="command.create.workspace.wizard" link="create_workspace_wizard">
      <category>SUBVIEW_UPPER_LIST</category>
      <filter id="newWorkspaceWizard">
        <rule grant="true">
          <permission>AddChildren</permission>
          <type>WorkspaceRoot</type>
        </rule>
      </filter>
    </action>

    <action icon="/icons/action_add.gif" id="newSection" label="command.create.section" link="#{documentActions.createDocument('Section')}">
      <category>SUBVIEW_UPPER_LIST</category>
      <filter id="newSection">
        <rule grant="true">
          <permission>AddChildren</permission>
          <type>SectionRoot</type>
        </rule>
      </filter>
    </action>

    <!-- generic actions -->

    <action icon="/icons/action_add.gif" id="newDocument" label="action.new.document" type="fancybox">
      <category>SUBVIEW_UPPER_LIST</category>
      <properties>
        <property name="include">/select_document_type.xhtml</property>
      </properties>
      <filter-id>create</filter-id>
    </action>

    <action icon="/icons/action_add_file.gif" id="newFile" label="action.new.file" type="fancybox">
      <category>SUBVIEW_UPPER_LIST</category>
      <properties>
        <property name="include">/create_file.xhtml</property>
      </properties>
      <filter-id>importFile</filter-id>
    </action>

    <!--
      tabs are handled by a specific template so links should be paths to
      template to include in the tab content
    -->
    <action accessKey="m" icon="/icons/file.gif" id="TAB_MANAGE" label="action.view.manage" order="240" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>manage</filter-id>
      <filter id="TAB_MANAGE_has_subtabs">
        <rule grant="false">
          <condition>
            #{webActions.getActionsList('TAB_MANAGE_sub_tab').isEmpty()}
          </condition>
        </rule>
      </filter>
      <properties>
        <property name="ajaxSupport">true</property>
        <property name="link">/incl/tabs/document_manage.xhtml</property>
      </properties>
    </action>

    <action accessKey="v" icon="/icons/file.gif" id="TAB_VIEW" label="action.view.summary" link="/incl/tabs/document_view.xhtml" order="0">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>view</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action accessKey="c" icon="/icons/file.gif" id="TAB_CONTENT" label="action.view.content" link="/incl/tabs/document_content.xhtml" order="10">
      <category>VIEW_ACTION_LIST</category>
      <!--
        NXP-12715: use same tab on workspaces and sections
      -->
      <!--
        <filter-id>outSection</filter-id>
      -->
      <filter-id>view_content</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <!--
      NXP-12715: use same tab on workspaces and sections => disable this action
      by default
    -->
    <action enabled="false" icon="/icons/file.gif" id="TAB_SECTION_CONTENT" label="action.view.content" link="/incl/tabs/section_content.xhtml" order="10">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>view_content</filter-id>
      <filter-id>inSection</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/file.gif" id="TAB_TRASH_CONTENT" label="action.view.trash.content" link="/incl/tabs/document_trash_content.xhtml" order="200">
      <category>TAB_MANAGE_sub_tab</category>
      <filter id="viewTrash">
        <rule grant="true">
          <permission>Manage everything</permission>
          <facet>Folderish</facet>
          <condition>#{deleteActions.trashManagementEnabled}</condition>
        </rule>
      </filter>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action accesskey="p" icon="/icons/printer.gif" id="print" label="label.print" link="#{restHelper.doPrint(themeActions.defaultTheme)}" order="100">
      <category>DOCUMENT_UPPER_ACTION_BLANK_TARGET</category>
    </action>

    <action accessKey="e" icon="/icons/file.gif" id="TAB_EDIT" label="action.view.modification" link="/incl/tabs/document_edit.xhtml" order="20">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>edit</filter-id>
      <filter-id>mutable_document</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action accessKey="e" icon="/icons/file.gif" id="TAB_WORKSPACE_EDIT" label="action.view.modification" link="/incl/tabs/document_edit.xhtml" order="22">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>workspace_edit</filter-id>
      <filter-id>mutable_document</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action accessKey="f" id="TAB_FILES_EDIT" label="action.view.files" link="/incl/tabs/document_files_edit.xhtml" order="43">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>edit</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>hasAttachedFiles</filter-id>
      <filter-id>denyFilesTab</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/file.gif" id="TAB_RIGHTS" label="action.view.rights" link="/incl/tabs/document_rights.xhtml" order="50">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>rights</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <!-- Manage the sub tabs -->

    <!-- Actions on WorkLists -->

    <action icon="/icons/action_paste_all.gif" id="WORKLIST_PASTE" label="command.clipboard.pasteAll" link="#{clipboardActions.pasteWorkingList}">
      <category>DEFAULT_LIST</category>
      <category>CLIPBOARD_LIST</category>
      <filter-id>canPasteCurrentWorkList</filter-id>
    </action>

    <action icon="/icons/action_move_all.gif" id="WORKLIST_MOVE" label="command.clipboard.moveAll" link="#{clipboardActions.moveWorkingList}">
      <category>DEFAULT_LIST</category>
      <category>CLIPBOARD_LIST</category>
      <filter-id>canMoveWorkingList</filter-id>
    </action>

    <action icon="/icons/action_export_zip.gif" id="WORKLIST_EXPORT" label="command.clipboard.zipExport" link="#{clipboardActions.exportWorklistAsZip()}">
      <category>DEFAULT_LIST</category>
      <filter id="currentWorkListIsNotEmpty2">
        <rule grant="false">
          <condition>#{clipboardActions.workListEmpty}</condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/action_clipboard_deleteall.gif" id="WORKLIST_CLEAN" label="command.clipboard.delAll" link="#{clipboardActions.clearWorkingList()}">
      <category>DEFAULT_LIST</category>
      <category>CLIPBOARD_LIST</category>
      <filter id="currentWorkListIsNotEmpty3">
        <rule grant="false">
          <condition>#{clipboardActions.workListEmpty}</condition>
        </rule>
      </filter>
    </action>

    <!-- Actions for the document selection -->

    <action icon="" id="CLIPBOARD_PASTE" label="command.clipboard.paste" link="#{clipboardActions.pasteClipboard}" order="20">
      <category>CURRENT_SELECTION_LIST</category>
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter id="canPastFromClipboard">
        <rule grant="true">
          <condition>#{clipboardActions.canPasteFromClipboard}</condition>
        </rule>
      </filter>
    </action>

    <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="CURRENT_SELECTION_DELETE" label="command.deleteDocs" link="#{deleteActions.purgeSelection}">
      <category>CURRENT_SELECTION_TRASH_LIST</category>
      <filter id="canPurge">
        <rule grant="true">
          <condition>#{deleteActions.canPurge}</condition>
        </rule>
      </filter>
    </action>

    <action confirm="if( !confirmUndeleteDocuments() ) return false;" help="comand.undeleteDocs.help" icon="" id="CURRENT_SELECTION_UNDELETE" label="command.undeleteDocs" link="#{deleteActions.undeleteSelection}">
      <category>CURRENT_SELECTION_TRASH_LIST</category>
      <filter id="canPurge">
        <rule grant="true">
          <condition>#{deleteActions.canPurge}</condition>
        </rule>
      </filter>
    </action>

    <action confirm="if( !confirmDeleteDocuments() ) return false;" help="comand.trashDocs.help" icon="" id="CURRENT_SELECTION_TRASH" label="command.trashDocs" link="#{deleteActions.deleteSelection}" order="40">
      <category>CURRENT_SELECTION_LIST</category>
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter id="canDelete">
        <rule grant="true">
          <condition>#{deleteActions.canDelete}</condition>
        </rule>
      </filter>
    </action>

    <action icon="" id="CURRENT_SELECTION_EDIT" label="command.bulk.edit" order="0" type="fancybox">
      <category>CURRENT_SELECTION_LIST</category>
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter-id>canEditCurrentSelection</filter-id>
      <properties>
        <property name="include">/incl/bulk_edit_box.xhtml</property>
        <property name="layout">bulkEdit@edit</property>
        <property name="autoDimensions">false</property>
        <property name="width">50%</property>
        <property name="height">70%</property>
        <property name="modal">true</property>
        <property name="scrolling">auto</property>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="" id="CURRENT_SELECTION_COPY" label="command.clipboard.copy" link="#{clipboardActions.putSelectionInClipboard}" order="10">
      <category>CURRENT_SELECTION_LIST</category>
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter-id>canCopyFromCurrentSelection</filter-id>
    </action>

    <action icon="" id="CURRENT_SELECTION_ADDTOLIST" label="help.command.clipboard.addworklist" link="#{clipboardActions.putSelectionInDefaultWorkList}" order="30">
      <category>CURRENT_SELECTION_LIST</category>
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter-id>canCopyFromCurrentSelection</filter-id>
      <filter id="no_addtolist_for_domains">
        <rule grant="false">
          <type>Root</type>
        </rule>
      </filter>
    </action>

    <action enabled="true" icon="" id="MOVE_TOP" label="command.order.movetotop" link="#{orderableDocumentActions.moveToTop}" order="200">
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter-id>canMoveToTop</filter-id>
    </action>

    <action enabled="true" icon="" id="MOVE_UP" label="command.order.moveup" link="#{orderableDocumentActions.moveUp}" order="250">
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter-id>canMoveUp</filter-id>
    </action>

    <action enabled="true" icon="" id="MOVE_DOWN" label="command.order.movedown" link="#{orderableDocumentActions.moveDown}" order="300">
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter-id>canMoveDown</filter-id>
    </action>

    <action enabled="true" icon="" id="MOVE_BOTTOM" label="command.order.movetobottom" link="#{orderableDocumentActions.moveToBottom}" order="350">
      <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
      <filter-id>canMoveToBottom</filter-id>
    </action>

    <action confirm="if( !confirmDeleteDocuments() ) return false;" help="comand.trashDocs.help" icon="" id="CURRENT_SELECTION_SECTIONS_TRASH" label="command.trashDocs" link="#{deleteActions.deleteSelectionSections}">
      <category>CURRENT_SELECTION_SECTIONS_LIST</category>
      <filter id="canDeleteSection">
        <rule grant="true">
          <condition>#{deleteActions.canDeleteSections}</condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/view_doc.png" id="POPUP_VIEW" label="command.view" link="javascript:doView">
      <category>POPUP</category>
    </action>

    <action icon="/icons/application_form_edit.png" id="POPUP_EDIT" label="action.view.edit" link="javascript:doEdit">
      <category>POPUP</category>
      <filter-id>user_canedit</filter-id>
      <filter-id>mutable_document</filter-id>
    </action>

    <action icon="/icons/action_clipboard_copy.gif" id="POPUP_COPY" label="command.clipboard.copy" link="javascript:doCopy">
      <category>POPUP</category>
    </action>

    <action icon="/icons/action_paste_all.gif" id="POPUP_PASTE" label="command.clipboard.paste" link="javascript:doPaste">
      <category>POPUP</category>
      <filter id="canPastePopup">
        <rule grant="true">
          <condition>
            #{clipboardActions.getCanPasteFromClipboardInside(document)}
          </condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/action_move_all.gif" id="POPUP_MOVE" label="command.clipboard.moveAll" link="javascript:doMove">
      <category>POPUP</category>
      <filter id="canPastePopup">
        <rule grant="true">
          <condition>
            #{clipboardActions.getCanMoveFromClipboardInside(document)}
          </condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/rename.png" id="POPUP_RENAME" label="command.rename" link="javascript:doRename">
      <category>POPUP</category>
      <filter-id>user_canedit</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter id="canRenamePopup">
        <rule grant="true">
          <condition>#{popupHelper.isCurrentContainerDirectParent}</condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/delete_red.png" id="POPUP_DEL" label="command.trashDocs" link="javascript:doDelete">
      <category>POPUP</category>
      <filter id="canDeletePopup">
        <rule grant="true">
          <condition>#{deleteActions.getCanDeleteItem(container)}</condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/group.png" id="POPUP_RIGHTS" label="action.view.rights" link="javascript:doAccessRights" order="10">
      <category>POPUP</category>
      <filter-id>rights</filter-id>
    </action>

    <action icon="/icons/icone_download.gif" id="POPUP_DOWNLOAD" label="command.download" link="javascript:doDownload" order="70">
      <category>POPUP</category>
      <filter id="hasContent">
        <rule grant="true">
          <schema>file</schema>
        </rule>
      </filter>
      <filter id="documentHasBlobAttached">
        <rule grant="true">
          <condition>
            #{popupHelper.isDocumentHasBlobAttached(document)}
          </condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/start_workflow.png" id="POPUP_WORKFLOW" label="action.view.review" link="javascript:doWorkflow" order="90">
      <category>POPUP</category>
      <filter-id>jbpm-process</filter-id>
      <filter-id>mutable_document</filter-id>
    </action>

    <action icon="/icons/lock.gif" id="POPUP_DOCUMENT_LOCK" label="command.lock" link="javascript:doLock" order="110">
      <category>POPUP</category>
      <filter-id>mutable_document</filter-id>
      <filter id="popup_can_lock_doc">
        <rule grant="true">
          <permission>Write</permission>
          <condition>#{lockActions.getCanLockDoc(document)}</condition>
        </rule>
        <rule grant="false">
          <facet>Folderish</facet>
        </rule>
      </filter>
    </action>

    <action icon="/icons/lock.gif" id="POPUP_DOCUMENT_UNLOCK" label="command.unlock" link="javascript:doUnlock" order="130">
      <category>POPUP</category>
      <filter-id>mutable_document</filter-id>
      <filter id="popup_can_unlock_doc">
        <rule grant="true">
          <permission>Write</permission>
          <condition>#{lockActions.getCanUnlockDoc(document)}</condition>
        </rule>
        <rule grant="false">
          <facet>Folderish</facet>
        </rule>
      </filter>
    </action>

    <action icon="/icons/mail.gif" id="POPUP_sendEmail" label="action.email.document" link="javascript:doSendEmail" order="150">
      <category>POPUP</category>
      <filter-id>not_folder</filter-id>
    </action>

    <!-- Actions for the document lock/unlock -->

    <action icon="" id="DOCUMENT_LOCK" label="command.lock" link="#{lockActions.lockCurrentDocument}">
      <category>EDIT_ACTIONS</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_lock</filter-id>
    </action>

    <action icon="" id="DOCUMENT_UNLOCK" label="command.unlock" link="#{lockActions.unlockCurrentDocument}">
      <category>EDIT_ACTIONS</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_unlock</filter-id>
    </action>

    <!-- live edit new document creation links -->

    <!--
      WARNING: the following declaration are not yet used by
      incl/liveedit_create_actions.xhtml since nxh:outputLink is not able to
      perform nested JSF-EL for the link/value attribute as this case for the
      action attribute of nxh:commandLink
    -->

    <action icon="/icons/word.png" id="le_create_msword" label="action.liveedit.create.msword" link="#{nxd:liveCreateUrl('application/msword', 'File', 'file', 'content', 'filename')}" order="40">
      <category>LIVEEDIT_CREATE_ACTIONS</category>
    </action>

    <action icon="/icons/xls.png" id="le_create_msexcel" label="action.liveedit.create.msexcel" link="#{nxd:liveCreateUrl('application/vnd.ms-excel', 'File', 'file', 'content', 'filename')}" order="50">
      <category>LIVEEDIT_CREATE_ACTIONS</category>
    </action>

    <action icon="/icons/ppt.png" id="le_create_mspowerpoint" label="action.liveedit.create.mspowerpoint" link="#{nxd:liveCreateUrl('application/vnd.ms-powerpoint', 'File', 'file', 'content', 'filename')}" order="60">
      <category>LIVEEDIT_CREATE_ACTIONS</category>
    </action>

    <!-- Local Configuration -->
    <action icon="/icons/file.gif" id="TAB_LOCAL_CONFIGURATION" label="action.view.local.configuration" link="/incl/tabs/local_configuration.xhtml" order="70">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>has_local_configuration_available</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <!-- actions on document create and edit pages -->

    <action id="CREATE_DOCUMENT" label="command.create" link="#{documentActions.saveDocument}" order="0">
      <category>CREATE_DOCUMENT_FORM</category>
      <filter-id>is_not_creating_workspace</filter-id>
    </action>

    <action id="CREATE_WORKSPACE" label="command.create" link="#{documentTemplatesActions.createDocumentFromTemplate}" order="0">
      <category>CREATE_DOCUMENT_FORM</category>
      <filter-id>is_creating_workspace</filter-id>
    </action>

    <action id="CANCEL_DOCUMENT_CREATION" immediate="true" label="command.cancel" link="#{navigationContext.goBack()}" order="50">
      <category>CREATE_DOCUMENT_FORM</category>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action id="EDIT_CURRENT_DOCUMENT" label="command.save" link="#{documentActions.updateCurrentDocument}" order="0">
      <category>EDIT_DOCUMENT_FORM</category>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action enabled="false" id="EDIT_CURRENT_DOCUMENT_AND_STAY" label="command.save.and.stay" link="#{documentActions.updateDocument(currentDocument, true)}" order="10">
      <category>EDIT_DOCUMENT_FORM</category>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <!-- end of actions on document create and edit pages -->

    <!-- header actions -->

    <action id="simple_search_box" order="1" type="template">
      <category>SEARCH_ACTIONS</category>
      <filter-id>isSearchEnabled</filter-id>
      <properties>
        <property name="template">/search/search_box.xhtml</property>
      </properties>
    </action>

    <!-- end of header actions -->

    <!-- footer links -->

    <action id="footer_contact_us" label="label.footer.contactUs" link="http://www.nuxeo.com/en/about/contact?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="10" type="bare_link">
      <category>FOOTER</category>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="footer_blogs" label="label.footer.blogs" link="http://blogs.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="20" type="bare_link">
      <category>FOOTER</category>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="footer_community" label="label.footer.community" link="http://community.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="30" type="bare_link">
      <category>FOOTER</category>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="footer_answers" label="label.footer.answers" link="http://answers.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="40" type="bare_link">
      <category>FOOTER</category>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="footer_documentation" label="label.footer.documentation" link="http://doc.nuxeo.com/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="50" type="bare_link">
      <category>FOOTER</category>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="footer_twitter" label="Twitter" link="http://twitter.com/nuxeo/?utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="60" type="bare_link">
      <category>FOOTER</category>
      <properties>
        <property name="styleClass">twitt</property>
        <property name="labelStyleClass">footerLabel</property>
        <property name="target">_blank</property>
      </properties>
    </action>

    <action id="footer_linkedin" label="LinkedIn" link="http://www.linkedin.com/groupRegistration?gid=43314&amp;utm_source=dm&amp;utm_medium=pages-footer&amp;utm_campaign=products" order="70" type="bare_link">
      <category>FOOTER</category>
      <properties>
        <property name="styleClass">linkedin</property>
        <property name="labelStyleClass">footerLabel</property>
        <property name="target">_blank</property>
      </properties>
    </action>

    <!-- end of footer links -->

  </extension>